package per.zzzfwd.douban.crawler.model;

public class Movie {

    /**
     * 标题/名称
     */
    private String title;

    /**
     * 豆瓣链接
     */
    private String url;

    /**
     * 豆瓣图片地址
     */
    private String img;

    /**
     * 导演
     */
    private String director;

    /**
     * 编剧
     */
    private String screenwriter;

    /**
     * 主演
     */
    private String actor;

    /**
     * 类型
     */
    private String type;

    /**
     * 官方网站
     */
    private String website;

    /**
     * 制片国家/地区
     */
    private String area;

    /**
     * 语言
     */
    private String lang;

    /**
     * 上映日期
     */
    private String release;

    /**
     * 片长，由于不同地区片长不同，所以直接保存字符串，不做处理了
     */
    private String length;

    /**
     * 别名
     */
    private String alias;

    /**
     * IMDb
     */
    private String IMDb;

    /**
     * 评分
     */
    private double rating;

    /**
     * 评价人数
     */
    private int evaluators;


    /* Getter and Setter */

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public double getRating() {
        return rating;
    }

    public void setRating(double rating) {
        this.rating = rating;
    }

    public int getEvaluators() {
        return evaluators;
    }

    public void setEvaluators(int evaluators) {
        this.evaluators = evaluators;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getScreenwriter() {
        return screenwriter;
    }

    public void setScreenwriter(String screenwriter) {
        this.screenwriter = screenwriter;
    }

    public String getActor() {
        return actor;
    }

    public void setActor(String actor) {
        this.actor = actor;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    public String getRelease() {
        return release;
    }

    public void setRelease(String release) {
        this.release = release;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getIMDb() {
        return IMDb;
    }

    public void setIMDb(String IMDb) {
        this.IMDb = IMDb;
    }

    @Override
    public String toString() {
        return "Movie{" +
            "\n title='" + title + '\'' +
            "\n url='" + url + '\'' +
            "\n img='" + img + '\'' +
            "\n director='" + director + '\'' +
            "\n screenwriter='" + screenwriter + '\'' +
            "\n actor='" + actor + '\'' +
            "\n type='" + type + '\'' +
            "\n website='" + website + '\'' +
            "\n area='" + area + '\'' +
            "\n lang='" + lang + '\'' +
            "\n release='" + release + '\'' +
            "\n length='" + length + '\'' +
            "\n alias='" + alias + '\'' +
            "\n IMDb='" + IMDb + '\'' +
            "\n rating=" + rating +
            "\n evaluators=" + evaluators +
            "\n}";
    }
}
